﻿
@using FollowUpNetwork.Models
@model LoginViewModel
@{
    ViewBag.Title = "登录";
}

<div class="signin">
    <div class="signin-head"><img src="~/img/test/0.png" alt="" class="img-circle"></div>
    <section id="loginForm" class="form-signin">
        @using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
        {
            @Html.AntiForgeryToken()

            @Html.ValidationSummary(true, "", new { @class = "text-danger" })
            <div class="form-group">
                <div class="col-md-12" >
                    @Html.TextBoxFor(m => m.Email, new { @class = "form-control" ,placeholder="电子邮箱"  })
                    @Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" })
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-12">
                    @Html.PasswordFor(m => m.Password, new { @class = "form-control",placeholder="密码"  })
                    @Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger" })
                </div>
            </div>
            <div class="form-group ">
                <div class=" col-md-12">
                    <input type="submit" value="登录" class="btn btn-lg btn-warning btn-block" />
                </div>
            </div>


        }
    </section>
</div>



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <link href="~/Content/signin.css" rel="stylesheet" />
}